package org.jeecg.modules.persongohome.service.impl;

import org.jeecg.modules.persongohome.entity.PersonGuardianship;
import org.jeecg.modules.persongohome.mapper.PersonGuardianshipMapper;
import org.jeecg.modules.persongohome.service.IPersonGuardianshipService;
import org.springframework.stereotype.Service;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @Description: 监护小组
 * @Author: jeecg-boot
 * @Date:   2020-01-30
 * @Version: V1.0
 */
@Service
public class PersonGuardianshipServiceImpl extends ServiceImpl<PersonGuardianshipMapper, PersonGuardianship> implements IPersonGuardianshipService {
	
	@Autowired
	private PersonGuardianshipMapper personGuardianshipMapper;
	
	@Override
	public List<PersonGuardianship> selectByMainId(String mainId) {
		return personGuardianshipMapper.selectByMainId(mainId);
	}
}
